import { request } from '../utils/request';

export function getAgentInstanceStatus(unitId: string) {
  return request({ url: `/agent/instance/status`, method: 'GET', params: { unitId } });
}

export function stopAgentInstance(unitId: string) {
  return request({ url: `/agent/instance/stop`, method: 'POST', params: { unitId } });
}

